﻿@if (Session["Login"] == null)
{
    using (Html.BeginForm("Login", "Home", FormMethod.Post))
    {
        @Html.Label("Username")
        @Html.TextBox("username")
        <br />
        @Html.Label("Password")
        @Html.TextBox("password")
        <br />
        <input type="submit" value="Login" />
    }
}
else
{
    <h4>Welcome @Transiteers.Models.User.Current.Username</h4>
}